<script>
import { useCcrnList } from "./useCcrnList";
export default {
  name: "CcrnList",
  components: {},
  setup() {
    const ccrnListHook = useCcrnList();

    return () => {
      return <tz-view class="ccrn-list">{ccrnListHook()}</tz-view>;
    };
  },
};
</script>

<style lang="scss">
.ccrn-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  .section {
    width: 100%;
    margin: 20px 0;
    background: $white;
    @extend %bt1;
    .tz-cell {
      padding: 5px 15px;
    }
    .text-right {
      .tz-cell-value {
        flex-direction: row-reverse;
      }
    }
    .fix {
      .tz-cell-label {
        font-size: $font-size-2;
        color: $title-color;
      }
      .tz-input {
        display: inline-block;
        width: 90%;
      }
      .tz-icon {
        color: #999;
      }
    }
  }
  .save-btn {
    width: 94%;
  }
}
</style>
